package com.cloud.quickcore.admin.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 登陆成功返回当前用户权限信息
 *
 * @author NiJo_H
 * @version 1.0
 * @date 2019/9/3 14:25
 */
@Data
public class AdminLoginVo implements Serializable {
    private static final long serialVersionUID = -2117147546987341177L;
    @ApiModelProperty("token")
    private String token;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("登陆用户名")
    private String username;

    @ApiModelProperty("角色列表")
    private List<String> roles;

    @ApiModelProperty("菜单列表")
    private List<PermissionTree> menus;
}
